package timing.ukulele.log.persistent;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("sys_log")
public class SysLog implements Serializable {
    @TableId(value = "id_", type = IdType.ASSIGN_ID)
    private Long id;

    @TableField("type_")
    private String type;

    @TableField("title_")
    private String title;

    private String remoteAddr;

    private String userAgent;

    private String requestUri;

    @TableField("method_")
    private String method;

    @TableField("params_")
    private String params;

    @TableField("time_")
    private Long time;

    @TableField("exception_")
    private String exception;

    private String createBy;

    private Date createTime;

    private String serviceId;
}
